package com.antu.first.bean;

/**
 * Created by Administrator on 2018/3/3.
 */
public class Administrator {

    private int adId;//Id

    private String adUsername;//管理员账号

    private String adPassword;//管理员密码

    private String adSequence;//管理员工号

    private String adPhone;//管理员电话

    private boolean adIsRoot;//是否是Root管理员

    public Administrator() {
    }

    public Administrator(int adId, String adUsername, String adPassword, String adSequence, String adPhone, boolean adIsRoot) {

        this.adId = adId;
        this.adUsername = adUsername;
        this.adPassword = adPassword;
        this.adSequence = adSequence;
        this.adPhone = adPhone;
        this.adIsRoot = adIsRoot;
    }

    public int getAdId() {

        return adId;
    }

    public void setAdId(int adId) {
        this.adId = adId;
    }

    public String getAdUsername() {
        return adUsername;
    }

    public void setAdUsername(String adUsername) {
        this.adUsername = adUsername;
    }

    public String getAdPassword() {
        return adPassword;
    }

    public void setAdPassword(String adPassword) {
        this.adPassword = adPassword;
    }

    public String getAdSequence() {
        return adSequence;
    }

    public void setAdSequence(String adSequence) {
        this.adSequence = adSequence;
    }

    public String getAdPhone() {
        return adPhone;
    }

    public void setAdPhone(String adPhone) {
        this.adPhone = adPhone;
    }

    public boolean isAdIsRoot() {
        return adIsRoot;
    }

    public void setAdIsRoot(boolean adIsRoot) {
        this.adIsRoot = adIsRoot;
    }

    @Override
    public String toString() {
        return "Administrator{" +
                "adId=" + adId +
                ", adUsername='" + adUsername + '\'' +
                ", adPassword='" + adPassword + '\'' +
                ", adSequence='" + adSequence + '\'' +
                ", adPhone='" + adPhone + '\'' +
                ", adIsRoot=" + adIsRoot +
                '}';
    }
}
